10 GOTO100 50 REM 51 S=54272:FORE=STOS+28:POKEE,0:NEXT 52 POKE54296,15:POKE54277,42:POKE54278,250 53 POKE54276,23:POKE54273,23:POKE54272,191 54 FORT=1TO150:NEXT:POKE54276,32:FORT=1TO200:NEXT 55 POKE54296,0:RETURN 60 REM 61 S=54272:FORE=STOS+28:POKEE,0:NEXT 62 POKE54296,15:POKE54277,18:POKE54278,242 63 POKE54276,33:POKE54273,4:POKE54272,48 64 FORT=1TO250:NEXT:POKE54276,32:FORT=1TO300:NEXT 65 POKE54296,0:RETURN 70 REM 71 S=54272:FORE=STOS+28:POKEE,0:NEXT 72 POKE54296,5:POKE54277,42:POKE54278,250 73 POKE54276,23:POKE54273,23:POKE54272,191 74 FORT=1TO30:NEXT:POKE54276,32:FORT=1TO50:NEXT 75 POKE54296,0:RETURN 80 FORT=1TO500:NEXT:RETURN 81 FORT=1TO1000:NEXT:RETURN 82 FORT=1TO2000:NEXT:RETURN 83 FORT=1TO3000:NEXT:RETURN 84 FORT=1TO4000:NEXT:RETURN 85 FORT=1TO5000:NEXT:RETURN 90 GOSUB81:GOSUB70 91 PRINT"[154] [208]RESS [211][208][193][195][197][160][194][193][210][160]TO CONTINUE 92 [161]R$:[139]R$[179][177][199](32)[167]92 93 [142] 95 [153]" PEEKETTER LUCK WITH THE NEXT QUESTION.OPEN":[142] 100 [151]53280,0:[151]53281,0:[151]646,3:[151]53272,23:C[178]0:P[178]0:W[178]0:D[178]0:G[178]0 101 [153]"LOAD ATNCLOSE(null)(null)(null)CHR$CLOSEVALSTR$(null)LENATN(null)RIGHT$(null)(null)ATN(null)CLOSE(null)(null)(null)CHR$(null)ATN(null) 102 PRINT" [198][207][210][160][195]64 [195][207][205][208][213][212][197][210][211] 105 [153]" WAIT"; 110 [153]" WAIT"; 115 [153]" (null)RACTICE (null)ROBLEMS IN ATNRITHMETIC WAIT"; 120 [153]" WAIT"; 125 [153]" CHR$RADE 4 (null)ART 1 WAIT"; 130 [153]" WAIT"; 135 [153]" (null)ESSON 15 WAIT"; 140 [153]" WAIT"; 145 [153]"  CHR$ENERAL (null)ROBLEMS OPEN WAIT"; 150 [153]" WAIT"; 155 [153]" WAIT" 160 [153]" WHC ONON" 165 [141]90 170 [153]"LOAD ATNND AWAY WE GO......." 175 [141]81:[141]50:[141]80 200 [153]"PRINT#LOAD  (null)UESTION 1 WAITOPEN":Z[178]0 205 [153]" STR$AVID HAD 28 MARBLES, BUT HE LOST 210 PRINT" SOME. [201]F HE NOW HAS 15, HOW MANY DID HE LOSE?" 220 GOSUB81:GOSUB70 225 PRINT" [145]" 230 INPUT A$ 240 IFA$<>"13"ANDA$<>"13 MARBLES" THEN 270 250 PRINT"[158] [195][207][210][210][197][195][212]!! [146][159]":GOSUB50:GOSUB82 260 P=P+1:GOTO300 270 PRINT"[150] [207][213][195][200]! .......... [212]HAT [200][213][210][212]!":GOSUB60:GOSUB82:Z=Z+1 275 IFZ=2THENG=G+1:GOTO295 280 PRINT"[145] [212]RY AGAIN ":GOSUB70:GOSUB81:W=W+1 290 PRINT"[159][145][145] [145][145][145][145][145][145][145]":GOTO225 295 PRINT"[145][145] [196]AVID LOST 13[150] MARBLES. ":GOSUB82 297 PRINT" 28 - 15 = 13 ":GOSUB82:GOSUB90 300 PRINT"[152][147]  [209]UESTION 2 [146][159]":Z=0 305 PRINT" [202]OHN HAD 90 CENTS IN HIS WALLET 310 [153]" BEFORE HE SPENT 35 CENTS FOR CANDY. 315 PRINT" [200]OW MUCH DID HE HAVE LEFT? (IN CENTS) " 320 GOSUB81:GOSUB70 325 PRINT" [145]" 330 INPUT A$ 340 IFA$<>"55"ANDA$<>"55 CENTS" THEN370 350 PRINT"[158] [195][207][210][210][197][195][212]!! [146][159]":GOSUB50:GOSUB82 360 P=P+1:GOTO400 370 PRINT"[150] [207][213][195][200]! .......... [212]HAT [200][213][210][212]!":GOSUB60:GOSUB82:Z=Z+1 375 IFZ=2 THEN G=G+1:GOTO395 380 PRINT"[145] [212]RY AGAIN ":GOSUB70:GOSUB81:W=W+1 390 PRINT"[159][145][145] [145][145][145][145][145][145][145]":GOTO325 395 PRINT"[145][145] [202]OHN HAD 55[150] CENTS LEFT. ":GOSUB82 397 PRINT" 90 - 35 = 55 ":GOSUB82:GOSUB90 400 PRINT"[152][147]  [209]UESTION 2 [146][159]":Z=0 405 PRINT" [200]OW MUCH MUST [200]ELEN PAY FOR 6 PONY 410 [153]" RIDES AT 25 CENTS A RIDE? 415 PRINT" (USE $)" 420 GOSUB81:GOSUB70 425 PRINT" [145]" 430 INPUT A$ 440 IFA$<>"$1.50"THEN 470 450 PRINT"[158] [195][207][210][210][197][195][212]!! [146][159]":GOSUB50:GOSUB82 460 P=P+1:GOTO500 470 PRINT"[150] [207][213][195][200]! .......... [212]HAT [200][213][210][212]!":GOSUB60:GOSUB82:Z=Z+1 475 IFZ=2THENG=G+1:GOTO495 480 PRINT"[145] [212]RY AGAIN ":GOSUB70:GOSUB81:W=W+1 490 PRINT"[159][145][145] [145][145][145][145][145][145][145]":GOTO425 495 PRINT"[145][145] [211]HE MUST PAY $1.50[150]. ":GOSUB82 497 PRINT" 25 X 6 = 150 ":GOSUB82:GOSUB90 500 PRINT"[152][147]  [209]UESTION 2 [146][159]":Z=0 505 PRINT" [201]F THREE CHILDREN ARE TO SHARE 72 510 [153]" CENTS EQUALLY, HOW MUCH WILL EACH 515 PRINT" CHILD GET? (IN CENTS) " 520 GOSUB81:GOSUB70 525 PRINT" [145]" 530 INPUT A$ 540 IFA$<>"24"ANDA$<>"24 CENTS" THEN 570 550 PRINT"[158] [195][207][210][210][197][195][212]!! [146][159]":GOSUB50:GOSUB82 560 P=P+1:GOTO600 570 PRINT"[150] [207][213][195][200]! .......... [212]HAT [200][213][210][212]!":GOSUB60:GOSUB82:Z=Z+1 575 IFZ=2THENG=G+1:GOTO595 580 PRINT"[145] [212]RY AGAIN ":GOSUB70:GOSUB81:W=W+1 590 PRINT"[159][145][145] [145][145][145][145][145][145][145]":GOTO525 595 PRINT"[145][145] [197]ACH CHILD GETS 24[150] CENTS. ":GOSUB82 597 PRINT" 72 / 3 = 24 ":GOSUB82:GOSUB90 600 PRINT"[152][147]  [209]UESTION 2 [146][159]":Z=0 605 PRINT" [212]ONY SOLD A DOZEN CANDIES AT 5 CENTS 610 [153]" EACH. LEFT$OW MUCH DID HE GET? (IN CENTS)" 620 [141]81:[141]70 625 [153]" ON" 630 [133] A$ 640 [139]A$[179][177]"60"[175]A$[179][177]"60 CENTS" [167] 670 650 [153]"SYS LEN(null)(null)(null)VALLEN(null)!! WAITOPEN":[141]50:[141]82 660 P[178]P[170]1:[137]700 670 [153]"DEF (null)(null)LENLEFT$! .......... (null)HAT LEFT$(null)(null)(null)!":[141]60:[141]82:Z[178]Z[170]1 675 [139]Z[178]2[167]G[178]G[170]1:[137]695 680 [153]"ON (null)RY AGAIN ":[141]70:[141]81:W[178]W[170]1 690 [153]"OPENONON ONONONONONONON":[137]625 695 [153]"ONON (null)ONY GETS 60DEF CENTS. ":[141]82 697 [153]" 12 X 5 = 60 ":[141]82:[141]90 700 [153]"PRINT#LOAD  (null)UESTION 2 WAITOPEN":Z[178]0 705 [153]" ATN CLASS WITH 45 CHILDREN ON THE ROLL 710 PRINT" HAD ONLY 31 PRESENT ON A RAINY DAY. 715 [153]" LEFT$OW MANY CHILDREN WERE ABSENT?" 720 [141]81:[141]70 725 [153]" ON" 730 [133] A$ 740 [139]A$[179][177]"14"[175]A$[179][177]"14 CHILDREN" [167] 770 750 [153]"SYS LEN(null)(null)(null)VALLEN(null)!! WAITOPEN":[141]50:[141]82 760 P[178]P[170]1:[137]800 770 [153]"DEF (null)(null)LENLEFT$! .......... (null)HAT LEFT$(null)(null)(null)!":[141]60:[141]82:Z[178]Z[170]1 775 [139]Z[178]2[167] G[178]G[170]1:[137]795 780 [153]"ON (null)RY AGAIN ":[141]70:[141]81:W[178]W[170]1 790 [153]"OPENONON ONONONONONONON":[137]725 795 [153]"ONON (null)HERE ARE 14DEF ABSENT. ":[141]82 797 [153]" 45 - 31 = 14 ":[141]82:[141]90 800 [153]"PRINT#LOAD  (null)UESTION 2 WAITOPEN":Z[178]0 805 [153]" (null)HAT WILL THE GROCER CHARGE FOR 4 810 PRINT" CANS OF PEAS AT 23 CENTS A CAN? (IN CENTS) " 820 GOSUB81:GOSUB70 825 PRINT" [145]" 830 INPUT A$ 840 IFA$<>"92"ANDA$<>"92 CENTS" THEN 870 850 PRINT"[158] [195][207][210][210][197][195][212]!! [146][159]":GOSUB50:GOSUB82 860 P=P+1:GOTO900 870 PRINT"[150] [207][213][195][200]! .......... [212]HAT [200][213][210][212]!":GOSUB60:GOSUB82:Z=Z+1 875 IFZ=2THEN G=G+1:GOTO895 880 PRINT"[145] [212]RY AGAIN ":GOSUB70:GOSUB81:W=W+1 890 PRINT"[159][145][145] [145][145][145][145][145][145][145]":GOTO825 895 PRINT"[145][145] [200]E WILL CHARGE 92[150] CENTS. ":GOSUB82 897 PRINT" 23 X 4 = 92 ":GOSUB82:GOSUB90 900 PRINT"[152][147]  [209]UESTION 2 [146][159]":Z=0 905 PRINT" [200]OW MANY APPLES CAN BE PUT IN A BOX 910 [153]" THAT WILL HOLD FOUR DOZEN?" 920 [141]81:[141]70 925 [153]" ON" 930 [133] A$ 940 [139]A$[179][177]"48"[175]A$[179][177]"4 DOZEN"[167] 970 950 [153]"SYS LEN(null)(null)(null)VALLEN(null)!! WAITOPEN":[141]50:[141]82 960 P[178]P[170]1:[137]1000 970 [153]"DEF (null)(null)LENLEFT$! .......... (null)HAT LEFT$(null)(null)(null)!":[141]60:[141]82:Z[178]Z[170]1 975 [139]Z[178]2[167] G[178]G[170]1:[137]995 980 [153]"ON (null)RY AGAIN ":[141]70:[141]81:W[178]W[170]1 990 [153]"OPENONON ONONONONONONON":[137]925 995 [153]"ONON (null)HE BOX WILL HOLD 48DEF APPLES. ":[141]82 997 [153]" 4 X 12 = 48 ":[141]82:[141]90 1000 [153]"PRINT#LOAD  (null)UESTION 2 WAITOPEN":Z[178]0 1005 [153]" MID$IM WORKED THREE HOURS AT 25 CENTS 1010 PRINT" AN HOUR. [200]OW MUCH DID HE EARN? (IN CENTS) " 1020 GOSUB81:GOSUB70 1025 PRINT" [145]" 1030 INPUT A$ 1040 IFA$<>"75"ANDA$<>"75 CENTS" THEN 1070 1050 PRINT"[158] [195][207][210][210][197][195][212]!! [146][159]":GOSUB50:GOSUB82 1060 P=P+1:GOTO1100 1070 PRINT"[150] [207][213][195][200]! .......... [212]HAT [200][213][210][212]!":GOSUB60:GOSUB82:Z=Z+1 1075 IFZ=2THEN G=G+1:GOTO1095 1080 PRINT"[145] [212]RY AGAIN ":GOSUB70:GOSUB81:W=W+1 1090 PRINT"[159][145][145] [145][145][145][145][145][145][145]":GOTO1025 1095 PRINT"[145][145] [202]IM EARNED 75[150] CENTS. ":GOSUB82 1097 PRINT" 3 X 25 = 75 ":GOSUB82:GOSUB90 1100 PRINT"[152][147]  [209]UESTION 2 [146][159]":Z=0 1105 PRINT" [201]F APPLES SOLD AT 6 CENTS EACH, HOW 1110 [153]" MANY APPLESCOULD YOU BUY WITH THREE DIMES?" 1120 [141]81:[141]70 1125 [153]" ON" 1130 [133] A$ 1140 [139]A$[179][177]"5"[167] 1170 1150 [153]"SYS LEN(null)(null)(null)VALLEN(null)!! WAITOPEN":[141]50:[141]82 1160 [137]1200 1170 [153]"DEF (null)(null)LENLEFT$! .......... (null)HAT LEFT$(null)(null)(null)!":[141]60:[141]82:Z[178]Z[170]1 1175 [139]Z[178]2[167] G[178]G[170]1:[137]1195 1180 [153]"ON (null)RY AGAIN ":[141]70:[141]81:W[178]W[170]1 1190 [153]"OPENONON ONONONONONONON":[137]1125 1195 [153]"ONON (null)OU COULD BUY 5DEF APPLES. ":[141]82 1197 [153]" 30 / 6 = 5 ":[141]82:[141]90 1200 [153]"LOAD  (null)EPORT LENARD WAIT" 1205 D[178]W[171]G:C[178]10[171]W 1210 [153]"PRINT 1. (null)UESTIONS ANSWERED CORRECTLY ON FIRST TRY: 1215 PRINT"  ";C 1220 PRINT"[129] 2. [209]UESTIONS ANSWERED CORRECTLY ON SECOND TRY: 1225 [153]"  ";D 1230 [153]"DEF 3. (null)UESTIONS MISSED ON SECOND TRY: 1235 PRINT"  ";G;"" 1245 GOSUB90 1250 PRINT"[158][147] [217]OU HAVE A CHOICE: 1255 [153]" (null)RESS  (null) WAIT TO REPEAT THIS LESSON 1260 PRINT" [208]RESS  [205] [146] TO RETURN TO THE MENU[159]" 1265 GETR$:IFR$<>"R"ANDR$<>"M"THEN1265 1270 IFR$="R"THENRESTORE:GOTO100 1280 PRINT"[147] [210]ETURNING TO THE MENU 1285 [147]"MENU",8 1290 [138] 1295 [128] 1300 [143] BILL CUMBERLAND 90:10:28